-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 Use async Redis client in Celery #7430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎨 Use async Redis client in Celery #7430
Conversation
sanderegg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure your change will pass the tests. I would suggest to pass the fastapi app as a field. this get_fastapi_app is what you normally use in the worker.
services/storage/src/simcore_service_storage/modules/celery/__init__.py
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7430 +/- ##
===========================================
- Coverage 87.45% 68.79% -18.67%
===========================================
Files 1717 729 -988
Lines 66614 34327 -32287
Branches 1132 168 -964
===========================================
- Hits 58259 23615 -34644
- Misses 8034 10654 +2620
+ Partials 321 58 -263
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
|
||
|
|
||
| class TaskData(BaseModel): | ||
| status: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type?
|
|
PR closed, code is present in #7443 |



What do these changes do?
When listing the completed tasks, our async Redis client is used from now.
Completely removed the blocking call
control.inspect().Related issue/s
How to test
Dev-ops checklist